summaryrefslogtreecommitdiff
path: root/src/pages/[locale]/staticPaths.ts
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-05 21:16:45 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-05 21:18:16 +0100
commit90254344d599bc977c0661f7c9681b7509a9076e (patch)
treed5c521f154994a33e0d09db48971d1a967a6f543 /src/pages/[locale]/staticPaths.ts
parent97147d56d93c7949fdccf22abe569b1b9d7a22ab (diff)
Moves to root folder
Diffstat (limited to 'src/pages/[locale]/staticPaths.ts')
-rw-r--r--src/pages/[locale]/staticPaths.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pages/[locale]/staticPaths.ts b/src/pages/[locale]/staticPaths.ts
new file mode 100644
index 0000000..266ad2c
--- /dev/null
+++ b/src/pages/[locale]/staticPaths.ts
@@ -0,0 +1,10 @@
+import type Locale from '../../types/Locale';
+
+// Defines what values to insert into the [locale] URL path parameter
+// when generating a static site
+const staticPaths: { params: { locale: Locale} }[] = [
+ { params: { locale: 'sco' } },
+ { params: { locale: 'en-GB' } },
+]
+
+export default staticPaths; \ No newline at end of file